package org.jeecg.modules.demo.pointcount.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.demo.moenydata.entity.Moneydatahappycafe;
import org.jeecg.modules.demo.moenydata.mapper.MoneydatahappycafeMapper;
import org.jeecg.modules.demo.moenydata.service.IMoneydatahappycafeService;
import org.jeecg.modules.demo.pointcount.entity.PointCount;
import org.jeecg.modules.demo.pointcount.mapper.PointCountMapper;
import org.jeecg.modules.demo.pointcount.service.IPonintCountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author yw
 * @Date 2021/3/10 10:58
 */
@Service
public class PonintCountServiceImpl extends ServiceImpl<PointCountMapper, PointCount>  implements IPonintCountService {

    @Autowired
    PointCountMapper pointCountMapper;

    @Override
    public List<PointCount> getPointList(List<PointCount> list,PointCount pointCount) {
        return pointCountMapper.getPointList(list,pointCount);
    }

    @Override
    public List<PointCount> getNewUserPointList(List<PointCount> list, PointCount pointCount) {
        return pointCountMapper.getNewUserPointList(list,pointCount);
    }

    @Override
    public List<PointCount> getNewUserNumList(PointCount pointCount) {
        return pointCountMapper.getNewUserNumList(pointCount);
    }

    @Override
    public int getNewUserPointListCount(PointCount pointCount) {
        return pointCountMapper.getNewUserPointListCount(pointCount);
    }

    @Override
    public void addPointCount(PointCount pointCount) {
        pointCountMapper.addPointCount(pointCount);
    }

    @Override
    public List<PointCount> getNumList(PointCount pointCount) {
        return pointCountMapper.getNumList(pointCount);
    }

    @Override
    public int getPointListCount(PointCount pointCount) {
        return pointCountMapper.getPointListCount(pointCount);
    }

    /** zrikka start */
    @Override
    public String queryRecordIsExist(PointCount req) {
        return pointCountMapper.queryRecordIsExist(req);
    }

    @Override
    public int addPointCountRecord(PointCount req) {
        return pointCountMapper.addPointCountRecord(req);
    }

    @Override
    public int updatePointCount(PointCount req) {
        return pointCountMapper.updatePointCount(req);
    }

    @Override
    public List<PointCount> queryPointData(PointCount req) {
        return pointCountMapper.queryPointData(req);
    }

    @Override
    public Integer queryPointCount(PointCount req) {
        return pointCountMapper.queryPointCount(req);
    }
    /** zrikka end */
}
